package com.woniu.atms.vo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 张奇
 * @title: PageInfoVO
 * @projectName g5_atms
 * @description: TODO
 * @date 2022/1/20 9:42
 */
@Getter
@Setter
@ToString
public class PageInfoVO {
    @NotNull(message = "页码不能为null")
    @Min(value = 1,message = "页面最少为1")
    private Integer pageNum;
    @NotNull(message = "页面大小不能为null")
    @Min(value = 1,message = "页面大小最少为1")
    private Integer pageSize;
}
